home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
LEFTSTR.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
254b
|
10 lines
left_str(int x, char *str, char *new_str)
/* Please the left x number of character from *str into *new_str */
{
while(x && *str) {
*new_str=*str;
new_str++; str++; x--;
}
*new_str=0x00;
}